package com.link.base.base.quote.dao.mybatis.mapper;

import com.link.base.base.quote.model.Quote;
import com.link.core.basic.dao.mapper.BasicMapper;

/**
 * @author unknown
 * @date unknown
 * @comments 报价单
 */
public interface QuoteMapper extends BasicMapper<Quote> {

    /**
     * 提交报价
     *
     * @param record
     * @throws Exception
     */
    public void quoteSubmitUpdate(Quote record) throws Exception;

    /**
     * 审批通过报价
     *
     * @param record
     * @throws Exception
     */
    public void quoteApproveUpdate(Quote record) throws Exception;

    /**
     * 审批拒绝报价
     *
     * @param record
     * @throws Exception
     */
    public void quoteRejectUpdate(Quote record) throws Exception;

    /**
     * 取消报价
     *
     * @param record
     * @throws Exception
     */
    public void quoteCancelUpdate(Quote record) throws Exception;
}
